package com.phs.main.web.po;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 公告
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "Announcement对象", description = "公告")
public class Announcement implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "公告主码", hidden = true)
	@TableId(value = "announcement_ID", type = IdType.AUTO)
	@ExcelProperty("")
	private Long announcementId;

	@ApiModelProperty(value = "公告标题名称")
	@ExcelProperty("")
	private String announcementName;

	@ApiModelProperty(value = "表示该公告发布的时间")
	@ExcelProperty("")
	private LocalDateTime announcementDate;

	@ApiModelProperty(value = "内容")
	@ExcelProperty("")
	private String announcementContent;

	@ApiModelProperty(value = "备注")
	@ExcelProperty("")
	private String comment;


}
